﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MS.InformationManagement.Presenter.Support;
using MS.InformationManagement.BLL.DocumentScheduler;

namespace MS.InformationManagement.Presenter.DocumentScheduler
{
    public class DocumentSchedulerPresenter : BasePresenter<IDocumentSchedulerView>
    {
        #region [Constructor]

        public DocumentSchedulerPresenter(IDocumentSchedulerView view) : base(view) { }

        #endregion

        #region [Public Members]

        public void HandleLoad()
        {
            switch (View.Action)
            {
                case DocumentSchedulerActions.Schedule:
                    View.Documents = DocumentSchedulerBLL.GetDocuments(View.DocumentIDArray, View.UserLibraryGuid);
                    break;
                default:
                    break;
            }

        }

        #endregion

    }
}
